project(protocol)
#MESSAGE(STATUS "current : ${CMAKE_CURRENT_SOURCE_DIR}" )
#set(PROTOCOL_INCLUDES ${PROTOCOL_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR})

include_directories(.)
add_library(${PROJECT_NAME}
        ${GEEJOAN_LIBRARY_TYPE}
        GeeJoan/AuthModule.pb.cc
        GeeJoan/NetWorkPackage.pb.cc
        GeeJoan/IoTModule.pb.cc
        GeeJoan/ErrorModule.pb.cc
        )

target_link_libraries(${PROJECT_NAME}
        libprotobuf-lite
        )